


import  Vue from '../node_modules/vue/dist/vue.js'

//导入vue-router
import  VueRouter from 'vue-router'
Vue.use(VueRouter)

//导入vue-resource
import  VueResource from 'vue-resource'
Vue.use(VueResource)

//导入mui的样式
import  './lib/mui/css/mui.min.css'
import  './lib/mui/css/icons-extra.css'



//导入Mint-UI中的组件
import 'mint-ui/lib/style.css'
import  { Header,Swipe, SwipeItem } from 'mint-ui'
Vue.component(Header.name, Header)
Vue.component(Swipe.name,Swipe)
Vue.component(SwipeItem.name,SwipeItem)

//导入自己的router.js路由模块
import router from './router.js'


import app from './App.vue'
//安装相关的laoder；

var vm = new Vue({
    el:'#app',
    render: c => c(app),
    router
})